define(function(require, exports, module) {
  require('css!/assets/lib/antd/antd.min.css');
  var Backbone = require('backbone');
  var $ = require('jquery');
  var _ = require('underscore');
  var jsonview = require('jsonview');

  // require('/assets/lib/es6/es6-shim.min')
  // require('/assets/lib/es6/es6-sham.min')

  var App = require('jsx!./jsx/app').default; //使用es6 export default导出

  function main() {
    var $app = $('<div id="app">');
    $('#main').html($app);

    var app = new App();
    app.init($app[0]);
  }

  return main;
})
